import { createApp } from 'vue';
import App from './App.vue';

//引入element
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';

//引入echarts
import VueEcharts from 'vue-echarts';
import 'echarts';

import zhCn from 'element-plus/dist/locale/zh-cn.mjs';

//调用
createApp(App)
  .use(ElementPlus, {
    locale: zhCn, // 配置中文
  })
  .component('v-chart', VueEcharts)
  .mount('#app');
